package cn.yyh.system.domain;

import cn.yyh.basic.domain.BaseDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: SystemDictionaryDetail
 * @Package: cn.yyh.system.domain
 * @date 2021/6/28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@ToString(callSuper = true)
public class SystemDictionaryDetail extends BaseDomain {
    private String name;
    private Long typesId;

    public SystemDictionaryDetail(Long id, String name, Long typesId) {
        super(id);
        this.name = name;
        this.typesId = typesId;
    }

    public SystemDictionaryDetail(String name, Long typesId) {
        this.name = name;
        this.typesId = typesId;
    }
}
